home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Diamond Collection
/
The Diamond Collection (Software Vault)(Digital Impact).ISO
/
cdr13
/
aurora2c.zip
/
PALETTE.AML
< prev
next >
Wrap
Text File
|
1995-04-07
|
1KB
|
34 lines
// ───────────────────────────────────────────────────────────────────
// The Aurora Editor v2.0
// Copyright 1993-1995 nuText Systems. All Rights Reserved Worldwide.
//
// Color palette installation macro
// ───────────────────────────────────────────────────────────────────
// compile time macros and function definitions
include bootpath "define.aml"
menu "colors"
item " &Blue and green" "blugreen"
item " &Fluorescent" "fluoresc"
item " &Green charcoal" "greench"
item " &Red and blue" "redblue"
item " &Wimbledon" "wimbledn"
end
palette = popup "colors" "Select a color palette to install" 37
if palette then
// backup existing color file
copyfile (bootpath "COLOR.AML") (bootpath "COLOR.OLD")
// copy color palette
if copyfile (getbootpath + "PALETTE\\" + palette + ".AML")
(bootpath "COLOR.AML") then
// recompile the editor
send "recompile"
end
end
// destroy the menu
destroybuf "colors"